RENAME FILE

This command will rename an existing file to a new name.

  Syntax
RENAME FILE Source Filename, New Filename
  Parameters
Source Filename
String
The source file name stiring
New Filename
String
The new file name string

  Returns

This command does not return a value.

  Description

The new filename must not exist or the command will fail.

  Example Code
cls
rename file "data.dat","newdata.dat"
do
loop
end
  See also

FILE Commands Menu
Index